﻿using System.Collections.Generic;

namespace RadaCode.SwissKnife.Search
{
    public interface IImageCacher
    {
        string GetImageByKeyword(string keyword);

        string[] GetImagesByKeyword(int imageCount, string keyword);

        string GetRandomImage();

        string[] GetRandomImages(int imageCount);

        void AddImagesAsKeyword(IEnumerable<string> images, string keyword);

        void AddRandomImages(IEnumerable<string> randomImages);

        int GetNumberOfRandomImagesInCache();

        int GetCachedImageCountByKeyword(string keyword);
    }
}
